package com.xiantm.study.thread.threadpermessage;

public class Helper {

    public void handle(int count, char c){
        System.out.println("    handle("+ count +", " + c +") BEGIN");
        for (int i = 0; i < count; i++) {
            slowly();
        }
        System.out.println("");
        System.out.println("    handle("+ count +", " + c +") END");
    }

    public void slowly(){
        try {
            Thread.sleep(100);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
    }
}
